import requests
content = {'id':'crawler','pwd':'123'}
r = requests.post('http://www.xxx/api/login.aspx',data=content)